package com.huawei.hwphy2d.physical.util;

import android.app.Activity;
import android.content.Context;
import o.fe;

public class PermissionGenerator {
    public static void genPermission(Context context) {
        String[] strArr = new String[]{"android.permission.READ_EXTERNAL_STORAGE", "android.permission.WRITE_EXTERNAL_STORAGE"};
        if (fe.ˏ(context, "android.permission.WRITE_EXTERNAL_STORAGE") != 0) {
            fe.ˏ((Activity) context, strArr, 1);
        }
    }
}
